/**
 * @file
 * Styles for Configuration Translation.
 */

/**
 * Hide the label, in an accessible way, for responsive screens which show the
 * form in one column.
 */
.config-translation-form .translation-element-wrapper .translation label {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  overflow: hidden;
  height: 1px;
  width: 1px;
}

/**
 * For wider screens, show the label and display source and translation side by
 * side.
 */
@media all and (min-width: 851px) {
  .config-translation-form .translation-element-wrapper .source {
    width: 48%;
    float: left;
  }
  .config-translation-form .translation-element-wrapper .translation {
    width: 48%;
    float: right;
  }
  .config-translation-form .translation-element-wrapper .translation label {
    position: static !important;
    clip: auto;
    overflow: visible;
    height: auto;
    width: auto;
  }
}
